package simpleservlet;



public class FirstServlet extends Servlet {
    @Override
    public void doGet(NettyRequest request, NettyResponse response) throws Exception {
        this.doPost(request,response);
    }

    @Override
    public void doPost(NettyRequest request, NettyResponse response) throws Exception {
        response.write("this is first servlet");
    }
}